package com.supreme.nettyapp.generalserver.beatserver.props;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
@ConfigurationProperties(prefix = "netty.beat-server")
public class BeatServerProps {

    private Boolean enabled;

    private String host;

    private Integer port;
}
